export const mainOptions = [
  {
    name: "主机滑油压力低停车",
    nameEn: "M/E L.O. Low Press. Stop",
    prop: "mainEngineLowOilPressStop",
  },
  {
    name: "主机冷却水温度高停车",
    nameEn: "M/E C.W. High Temp. Stop",
    prop: "mainEngineHighWaterTempStop",
  },
  {
    name: "机旁紧急停车",
    nameEn: "Local E-Stop",
    prop: "localEmergencyStop",
  },
  {
    name: "前驾紧急停车",
    nameEn: "Bridge E-Stop",
    prop: "frontBridgeEmergencyStop",
  },
  {
    name: "超速报警",
    nameEn: "Overspeed Alarm",
    prop: "overSpeedAlarm",
  },
  {
    name: "蓄电池电压低报警",
    nameEn: "Low Battery Voltage Alarm",
    prop: "batteryLowVoltAlarm",
  },
  {
    name: "辅电源失电报警",
    nameEn: "Auxiliary Power No-voltage Alarm",
    prop: "auxPowerFailAlarm",
  },
  {
    name: "主机滑油压力低报警",
    nameEn: "M/E L.O. Low Press. Alarm",
    prop: "mainEngineLowOilPressAlarm",
  },
  {
    name: "主机淡水温度高报警",
    nameEn: "M/E F.W. High Temp. Alarm",
    prop: "mainEngineHighWaterTempAlarm",
  },
  {
    name: "主机滑油温度高报警",
    nameEn: "M/E L.O. High Temp.Alarm",
    prop: "mainEngineHighOilTempAlarm",
  },
  {
    name: "启动空气压力报警",
    nameEn: "Starting Air Press. Alarm",
    prop: "startAirPressAlarm",
  },
  {
    name: "齿轮箱滑油压力低报警",
    nameEn: "Gearbox L.O. Low Press. Alarm",
    prop: "gearboxLowOilPressAlarm",
  },
  {
    name: "齿轮箱工作压力低报警",
    nameEn: "Gearbox Low Working Press. Alarm",
    prop: "gearboxLowWorkPressAlarm",
  },
  {
    name: "齿轮箱滑油温度高报警",
    nameEn: "Gearbox L.O. High Temp. Alarm",
    prop: "gearboxHighOilTempAlarm",
  },
  {
    name: "主机左排温高",
    nameEn: "M/E (P)High Exhaust Temp.",
    prop: "mainEngineLeftExhHighTemp",
  },
  {
    name: "主机右排温高",
    nameEn: "M/E (S) High Exhaust Temp.",
    prop: "mainEngineRightExhHighTemp",
  },
  {
    name: "启动失败",
    nameEn: "Startup Failure",
    prop: "startFail",
  },
  {
    name: "超速停车",
    nameEn: "Overspeed Stop",
    prop: "overSpeedStop",
  },
]

export const generatorOptions = [
  {
    name: "淡水温高报警",
    nameEn: "F.W. High Temp. Alarm",
    prop: "waterHighTempAlarm",
  },
  {
    name: "滑油油温高报警",
    nameEn: "L.O. High Temp. Alarm",
    prop: "oilHighTempAlarm",
  },
  {
    name: "启动失败报警",
    nameEn: "Startup Failure Alarm",
    prop: "engineStartFailAlarm",
  },
  {
    name: "系统电压低报警",
    nameEn: "System Low Voltage Alarm",
    prop: "engineLowVoltageAlarm",
  },
  {
    name: "滑油压低停车报警",
    nameEn: "L.O. Low Press. Stop Alarm",
    prop: "lowOilPressureShutdown",
  },
  {
    name: "淡水温度高停车报警",
    nameEn: "F.W. High Temp. Stop Alarm",
    prop: "highwaterTempShutdown",
  },
  {
    name: "燃油泄漏报警",
    nameEn: "Fuel Leakage Alarm",
    prop: "engineFuelLeakAlarm",
  },
  {
    name: "超速报警",
    nameEn: "Overspeed Alarm",
    prop: "engineOverspeedAlarm",
  },
  {
    name: "机旁紧急停车",
    nameEn: "Local E-Stop",
    prop: "localEmergencyStop",
  },
  {
    name: "遥控紧急停车",
    nameEn: "Remote E-Stop",
    prop: "remoteEmergencyStop",
  },
  {
    name: "滑油压力低报警",
    nameEn: "L.O. Low Press. Alarm",
    prop: "lowOilPressureAlarm",
  },
  {
    name: "超速停车报警",
    nameEn: "Overspeed E-Stop Alarm",
    prop: "engineOverspeedShutdown",
  },
]

export const sideGeneratorOptions = [
  {
    name: "转速高报警",
    nameEn: "High Rotation Alarm",
    prop: "highRpm",
  },
  {
    name: "滑油低压报警",
    nameEn: "L.O. Low Press. Alarm",
    prop: "lowOilPress",
  },
  {
    name: "淡水温高报警",
    nameEn: "F.W. High Temp. Alarm",
    prop: "highWaterTemp",
  },
  {
    name: "滑油进机温高报警",
    nameEn: "L.O. Inlet HighTemp. Alarm",
    prop: "highOilInTemp",
  },
  {
    name: "燃油泄漏报警",
    nameEn: "Fuel Leakage Alarm",
    prop: "fuelLeak",
  },
  {
    name: "电瓶欠压标记",
    nameEn: "Battery Low Voltage Indicator",
    prop: "batteryLow",
  },
  {
    name: "遥控标记",
    nameEn: "Remote Control Indicator",
    prop: "remoteFlag",
  },
  {
    name: "超速停机报警",
    nameEn: "Overspeed Stop Alarm",
    prop: "overSpeedStop",
  },
  {
    name: "油压过低停机报警",
    nameEn: "F.O. Low Press. Stop Alarm",
    prop: "lowOilStop",
  },
  {
    name: "水温过高停机报警",
    nameEn: "High Water Temp. Stop Alarm",
    prop: "highWaterStop",
  },
  {
    name: "油温过高停机报警",
    nameEn: "F.O. High Temp. Stop Alarm",
    prop: "highOilStop",
  },
]

export const codeDict = {
  G: {
    1: "waterHighTempAlarm",
    2: "oilHighTempAlarm",
    3: "engineStartFailAlarm",
    4: "engineLowVoltageAlarm",
    5: "lowOilPressureShutdown",
    6: "highwaterTempShutdown",
    7: "engineFuelLeakAlarm",
    8: "engineOverspeedAlarm",
    9: "localEmergencyStop",
    10: "remoteEmergencyStop",
    11: "lowOilPressureAlarm",
    12: "engineOverspeedShutdown",
  },
  M: {
    1: "mainEngineLowOilPressStop",
    2: "mainEngineHighWaterTempStop",
    3: "localEmergencyStop",
    4: "frontBridgeEmergencyStop",
    5: "",
    6: "overSpeedAlarm",
    7: "batteryLowVoltAlarm",
    8: "auxPowerFailAlarm",
    9: "mainEngineLowOilPressAlarm",
    10: "mainEngineHighWaterTempAlarm",
    11: "mainEngineHighOilTempAlarm",
    12: "startAirPressAlarm",
    13: "gearboxLowOilPressAlarm",
    14: "gearboxLowWorkPressAlarm",
    15: "gearboxHighOilTempAlarm",
    16: "mainEngineLeftExhHighTemp",
    17: "mainEngineRightExhHighTemp",
    18: "startFail",
    19: "overSpeedStop",
  },
  D: {
    1: "highRpm",
    2: "lowOilPress",
    3: "highWaterTemp",
    4: "highOilInTemp",
    5: "fuelLeak",
    6: "batteryLow",
    7: "",
    8: "remoteFlag",
    9: "overSpeedStop",
    10: "lowOilStop",
    11: "highWaterStop",
    12: "highOilStop",
  }
}